<!DOCTYPE html>
<html lang="zh">
<head>
    <title>第三方仓库存调整单 | OMS</title>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="cache-control" content="no-cache" />
    <meta http-equiv="expires" content="Thu, 19 Nov 1900 08:52:00 GMT" />

    <!-- 加载 bootstrap 样式-->
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/jquery-ui-1.10.4.custom/css/ui-lightness/jquery-ui-1.10.4.custom.min.css" />
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/font-awesome/css/font-awesome.min.css" />
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/bootstrap/css/bootstrap.min.css" />

    <!-- 加载本页需要的三方插件样式 -->
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/DataTables/media/css/jquery.dataTables.css">
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/DataTables/extensions/TableTools/css/dataTables.tableTools.min.css">
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/DataTables/media/css/dataTables.bootstrap.css">
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/jquery-tablesorter/themes/blue/style-custom.css">
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/jquery-bootstrap-wizard/custom.css">
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/jquery-steps/css/jquery.steps.css">
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/animate.css/animate.css" />
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/iCheck/skins/all.css" />
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css">
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/bootstrap-daterangepicker/daterangepicker-bs3.css" />
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/jquery-notific8/jquery.notific8.min.css">
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/jquery-notific8/jquery.notific8.min.css">
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/bootstrap-select/bootstrap-select.min.css">
    <!-- 加载主题风格样式 -->
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/css/themes/style1/orange-blue.css" class="default-style" />
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/css/themes/style1/orange-blue.css" id="theme-change"
          class="style-change color-change" />
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/css/style-responsive.css" />
    <link type="text/css" rel="stylesheet" href="extAdjustList.css" />
    <link type="text/css" rel="stylesheet" href="/css/tooltip.css" />

    <style type="text/css">
        #shipOrderTable tbody tr td{
            text-align:right;
        }

        th, td {
            overflow: inherit;
        }

    </style>

</head>
<body class="">

<!--BEGIN CONTENT-->
<div class="page-content">
    <div class="container-fluid">
        <div class="row">
            <div class="col-lg-8 col-xs-8 col-sm-8 col-md-8" style="line-height:36px;">
                <div class="actions" style="margin-bottom: 10px;margin-right:10px;">
                    <a href="#" class="btn btn-xs btn-danger" data-toggle="modal" data-target="" onclick="cancelAdjust();" id="cancelAdjust">
                        <i class="fa" style="color: white;">&nbsp;废弃</i>
                    </a>
                    <a href="#" class="btn btn-xs btn-info" data-toggle="modal" data-target="" onclick="newAdjust();" id= "newAdjust">
                        <i class="fa" style="color: white;">&nbsp;新增</i>
                    </a>
                    &nbsp;
                </div>
            </div>
            <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4" style="margin-bottom: 10px;">
                <div class="input-group">
                    <input id="quickSearch" type="text" placeholder="商品编码/名称、规格编码/名称、单据编号" class="form-control" /> <span
                        class="input-group-btn">
                            <button id="btnQuickSearch" type="button" class="btn btn-primary">
                                <i class="fa fa-search"></i>
                            </button>
                            <button id="btnAdvSearch" type="button" class="btn btn-default btn-adv-search">
                                <i class="fa fa-angle-double-down" style="font-size: 20px; color: white;"></i>
                            </button>
                        </span>
                </div>
            </div>
        </div>

        <!-- 高级查询 -->
        <div class="row">
            <div class="col-lg-12">
                <div class="portlet box portlet-blue tabbable" style="margin-bottom:0px;">
                    <div class="panel panel-default" id="advSearchPanel" style="display:none;">
                        <!-- <div class="panel panel-default" id="advSearchPanel" style="position: fixed;Z-index: 9999; width: 95%;">   悬浮 -->
                        <!-- 窗体悬浮，百分比根据情况设置 -->
                        <div class="panel-body">
                            <form id="frmAdvSearch" role="form" action="" class="form-horizontal advance-query">
                                <!-- advance-query 必须要写的 -->
                                <div class="row">
                                    <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                                        <div id="startTime1" class="form-group">
                                            <label for="createTimeS" class="col-sm-5 col-lg-5 col-xs-5 col-md-5 control-label">创建起始时间 </label>
                                            <div class="col-sm-7 col-lg-7 col-xs-7 col-md-7">
                                                <div class="input-group datetimepicker-default date ">
                                                    <input id="createTimeS" name="createTimeS" type="text" placeholder="" data-format="YYYY-MM-DD HH:mm:ss"
                                                           class="form-control forsubmitgte" fieldname="o.order_time"
                                                           fieldtype="string" fieldoperator="gte" readonly />
                                                    <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                                        <div id="startTime2" class="form-group">
                                            <label for="createTimeE" class="col-sm-5 col-lg-5 col-xs-5 col-md-5 control-label">创建截止时间 </label>
                                            <div class="col-sm-7 col-lg-7 col-xs-7 col-md-7">
                                                <div class="input-group datetimepicker-default date ">
                                                    <input id="createTimeE" name="createTimeE" type="text" placeholder="" data-format="YYYY-MM-DD HH:mm:ss"
                                                           class="form-control forsubmitgte" fieldname="o.order_time"
                                                           fieldtype="string" fieldoperator="gte" readonly />
                                                    <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                                        <div class="form-group">
                                            <label for="storId" class="col-sm-5 col-lg-5 col-xs-5 col-md-5 control-label">第三方仓库 </label>
                                            <div class="col-sm-7 col-lg-7 col-xs-7 col-md-7">
                                                <select id="storId" name="storId" class="form-control " >
                                                    <option value="">请选择</option>
                                                </select>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                                        <div class="form-group">
                                            <label for="adjustType" class="col-sm-5 col-lg-5 col-xs-5 col-md-5 control-label">调整类型 </label>
                                            <div class="col-sm-7 col-lg-7 col-xs-7 col-md-7">
                                                <select id="adjustType" name="adjustType" class="form-control " >
                                                    <option value="">请选择</option>
                                                    <option value="pd">盘点调整</option>
                                                    <option value="sd">手动调整</option>
                                                </select>
                                            </div>
                                        </div>
                                    </div>

                                </div>

                                <div class="row">
                                    <div class="col-sm-3 col-lg-3 col-xs-3 col-md-3">
                                    </div>
                                    <div class="col-sm-9 col-lg-9 col-xs-9 col-md-9 text-right">
                                        <button type="reset" id="advSearchReset" name="advSearchReset" class="btn btn-default">重置</button>
                                        <button type="button" id="advSearchSubmit" name="advSearchSubmit" class="btn btn-primary">查询</button>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-lg-12">
                <div class="portlet box portlet-blue tabbable">
                    <!--如果需要状态栏 必须加tabbable  -->
                    <div class="portlet-header">
                        <div class="caption">商品列表</div>
                    </div>
                    <div class="portlet-body">
                        <div class="tabbable portlet-tabs">
                            <ul class="nav nav-tabs">
                                <li>
                                    <button id="exportAdjust" onclick="exportAdjust()" style="margin-top: 12px;" type="button" class="btn btn-warning btn-xs">
                                        <i class="fa"></i>&nbsp;导出
                                    </button>
                                </li>
                                <li>
                                    <button id="reloadBtn" onclick="refresh();" style="margin-top: 12px;" type="button" class="btn btn-warning btn-xs">
                                        <i class="fa"></i>&nbsp;刷新
                                    </button>
                                </li>
                                <li><a id="cancel" href="#cancelTab" data-toggle="tab">已废弃(0)</a></li>
                                <li><a id="complete" href="#completeTab" data-toggle="tab">已调整(0)</a></li>
                                <li class="active"><a id="wait" href="#waitTab" data-toggle="tab">待调整(0)</a></li>
                            </ul>

                            <div class="tab-content">
                                <!-- 待审核div -->
                                <div id="waitTab" class="tab-pane fade in active">
                                    <div class="table-responsive" id="widthWaitTab">
                                        <table id="waitTable"
                                               class="table table-hover table-striped table-bordered table-advanced tablefirst "
                                               width="100%" style="table-layout:fixed;">
                                            <thead>
                                            <tr>
                                                <th style="width:10px;"></th>
                                                <th width="10%" style="padding-left: 10px"><input id="chkAll" name="chkAll" style=""
                                                                                                 type="checkbox" colValue="chk" class="checkall" /></th>
                                                <th width="10%">单据编号</th>
                                                <th width="10%">来源单号</th>
                                                <th width="10%">仓库</th>
                                                <th width="10%">调整类型</th>
                                                <th width="10%">创建人</th>
                                                <th width="10%">创建时间</th>
                                                <th width="10%">备注</th>
                                                <th width="10%">操作</th>
                                            </tr>
                                            </thead>
                                            <tbody>
                                            </tbody>
                                        </table>
                                    </div>
                                </div>
                                <!-- 已完成div -->
                                <div id="completeTab" class="tab-pane fade">
                                    <div class="table-responsive" id="widthCompleteTab">
                                        <table id="completeTable"
                                               class="table table-hover table-striped table-bordered table-advanced tablefirst"
                                               width="100%" style="table-layout:fixed;">
                                            <thead>
                                            <tr>
                                                <th style="width:10px;"></th>
                                                <th width="10%">单据编号</th>
                                                <th width="10%">来源单号</th>
                                                <th width="10%">仓库</th>
                                                <th width="10%">调整类型</th>
                                                <th width="10%">创建人</th>
                                                <th width="10%">创建时间</th>
                                                <th width="10%">调整时间</th>
                                                <th width="10%">备注</th>
                                            </tr>
                                            </thead>
                                            <tbody>
                                            </tbody>
                                        </table>
                                    </div>
                                </div>
                                <!-- 已废弃div -->
                                <div id="cancelTab" class="tab-pane fade">
                                    <div class="table-responsive" id="widthCancelTab">
                                        <table id="cancelTable"
                                               class="table table-hover table-striped table-bordered table-advanced tablefirst"
                                               width="100%" style="table-layout:fixed;">
                                            <thead>
                                            <tr>
                                                <th style="width:10px;"></th>
                                                <th width="12%">单据编号</th>
                                                <th width="12%">来源单号</th>
                                                <th width="12%">仓库</th>
                                                <th width="12%">调整类型</th>
                                                <th width="12%">创建人</th>
                                                <th width="12%">创建时间</th>
                                                <th width="">备注</th>
                                            </tr>
                                            </thead>
                                            <tbody>
                                            </tbody>
                                        </table>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<input type="hidden" id="myid" />
<input type="hidden" id="tab" />

<!-- ====================================== 窗口区 ===================================== -->
<!-- 新增调整单 -->
<div id="newAdjustPage" tabindex="-1" role="dialog" aria-labelledby="modal-header-primary-label" data-backdrop="static" aria-hidden="true" class="modal fade">
    <div class="modal-dialog " style="width: 90%;">
        <div class="modal-content">
            <div class="modal-header modal-header-primary">
                <button type="button" data-dismiss="modal" aria-hidden="true" class="close">&times;</button>
                <h4 id="newAdjustPageTitle" class="modal-title">新增调整单</h4>
            </div>
            <div class="modal-body" style="overflow-y:auto; overflow-x:auto;height: 555px">
                <input type="hidden" id="isNew" name="isNew" />
                <input type="hidden" id="adjustId" name="adjustId" />
                <form id="frmNewAdjust" name="frmNewAdjust" role="form" action="" class="form-horizontal advance-query">
                    <div class="panel-heading" style="font-size: 14px">基础信息</div>

                    <div class="row">
                        <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                            <div class="form-group">
                                <label for="storIdNew" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">第三方仓库<span
                                        class='require'>*</span></label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <select id="storIdNew" name="storIdNew" class="form-control required" required>
                                        <option value="">请选择</option>
                                    </select>
                                </div>
                            </div>
                        </div>

                        <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                        </div>

                        <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                        </div>
                    </div>

                    <div class="row">

                        <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                            <div class="form-group">
                                <label for="remarkNew" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">内部备注</label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <textarea id="remarkNew" name="remarkNew" maxlength="200" class="form-control " >
                                    </textarea>
                                </div>
                            </div>
                        </div>

                        <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">

                        </div>

                        <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">

                        </div>

                    </div>
                </form>
                <p>
                <hr/>
                <div class="row">
                    <div class="col-lg-12">
                        <div class="portlet box portlet-blue tabbable">
                            <div class="portlet-body">
                                <div class="tabbable ">
                                    <ul class="nav nav-tabs ul-edit responsive">
                                        <li class="active"><a id="adjustSkuInfo" href="#adjustSkuInfo" data-toggle="tab">商品明细信息</a></li>
                                        <li>
                                            <!--<a href="/views/warehouse/extAdjust/调整单模板.xls"  id="downloadExcelHref" style="display:none" >模板下载</a>-->
                                            <button id="downloadExcel" style="margin-top: 12px;" type="button" class="btn btn-warning btn-xs">
                                                <i class="fa"></i>&nbsp;模板下载
                                            </button>&nbsp;
                                        </li>
                                        <li>
                                            <input type="file" style="margin-top: 12px;" class="" name="upload-file" id="upload-file"/>
                                            <!--<button id="importSku" onclick="importSku()" style="margin-top: 12px;" type="button" class="btn btn-warning btn-xs" >-->
                                                <!--<i class="fa"></i>&nbsp;批量导入-->
                                            <!--</button>-->
                                        </li>

                                        <li style="float:right">
                                            <button id="clearAll" onclick="" style="margin-top: 12px;" type="button" class="btn btn-warning btn-xs" >
                                                <i class="fa"></i>&nbsp;清除
                                            </button>
                                        </li>

                                        <li style="float:right">
                                            <button id="addSku"  style="margin-top: 12px;" type="button" class="btn btn-warning btn-xs">
                                                <i class="fa"></i>&nbsp;添加商品
                                            </button>&nbsp;
                                        </li>
                                    </ul>
                                    <div class="tab-content">
                                        <!-- 商品信息div -->
                                        <div id="orderSkuInfoTab" class="tab-pane fade in active">
                                            <input type="hidden" id="operStus" />
                                            <p>
                                            <div class="portlet-body ">
                                                <div class="table-responsive">
                                                    <table id="adjustTableUpdate" style="table-layout: fixed"
                                                        class="table table-hover table-striped table-bordered table-advanced" width="100%">
                                                        <thead>
                                                        <tr>
                                                            <th width="10%" colValue="">商品商家编码</th>
                                                            <th width="10%" colValue="">商品名称</th>
                                                            <th width="10%" colValue="">规格商家编码</th>
                                                            <th width="10%" colValue="">规格名称</th>
                                                            <th width="10%" colValue="">库存类型</th>
                                                            <th width="10%" colValue="">批次编号</th>
                                                            <th width="10%" colValue="">生产日期</th>
                                                            <th width="6%" colValue="" style="text-align: right;">调整数</th>
                                                            <th width="10%" colValue="">备注</th>
                                                            <th width="10%" colValue="">操作</th>
                                                        </tr>
                                                        </thead>
                                                        <tbody>
                                                        </tbody>
                                                    </table>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button id="btnAdjustCancel" type="button" data-dismiss="modal" class="btn btn-default">取消</button>
                <button id="btnAdjustAdd" type="button" class="btn btn-primary">保存</button>
            </div>
        </div>
    </div>
</div>

<!--  选择仓库下的商品 -->
<div id="modalAddItem" shopid="" tabindex="-1" role="dialog" aria-labelledby="modal-header-primary-label" data-backdrop="static" aria-hidden="true" class="modal fade">
    <div class="modal-dialog " style="width: 50%;height:95%;" >
        <div class="modal-content">
            <div class="modal-header modal-header-primary">
                <button type="button" data-dismiss="modal" aria-hidden="true" class="close">&times;</button>
                <h4 id="modalAddItemTitle" class="modal-title" style="display:block;white-space:nowrap; overflow:hidden; text-overflow:ellipsis;">选择仓库下的商品</h4>
            </div>
            <div class="modal-body" style="width: 99%;height:99%; ">
                <div id="flat-skin" class="row skin skin-flat" style="">
                    <div class="table-responsive">
                        <input type="hidden" id="storIdSearch" name="storIdSearch" />
                        <!-- 查询条件 -->
                        <form id="frmSelPrjSku" action="#" class="form-horizontal">
                            <div class="row">
                                <div class="col-lg-5 col-xs-5 col-sm-5 col-md-5">
                                    <div class="form-group">
                                        <label for="skuGoodsCode" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">商品商家编码</label>
                                        <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                            <input id="skuGoodsCode" name="skuGoodsCode" type="text" placeholder="模糊查询" minlength="1" maxlength="100"
                                                   class="form-control" fieldtype="string" />
                                        </div>
                                    </div>
                                </div>
                                <div class="col-lg-7 col-xs-7 col-sm-7 col-md-7">
                                    <div class="form-group">
                                        <label for="skuGoodsName" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">商品名称</label>
                                        <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                            <input id="skuGoodsName" name="skuGoodsName" type="text" placeholder="模糊查询" minlength="1" maxlength="100"
                                                   class="form-control" fieldtype="string" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-lg-5 col-xs-5 col-sm-5 col-md-5">
                                    <div class="form-group">
                                        <label for="skuSkuCode" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">规格商家编码</label>
                                        <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                            <input id="skuSkuCode" name="skuSkuCode" type="text" placeholder="模糊查询" minlength="1" maxlength="100"
                                                   class="form-control" fieldtype="string" />
                                        </div>
                                    </div>
                                </div>
                                <div class="col-lg-7 col-xs-7 col-sm-7 col-md-7">
                                    <div class="form-group">
                                        <label for="skuSkuName" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">规格名称</label>
                                        <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                            <input id="skuSkuName" name="skuSkuName" type="text" placeholder="模糊查询" minlength="1" maxlength="100"
                                                   class="form-control" fieldtype="string" />
                                        </div>
                                    </div>
                                </div>
                            </div>

                            <div class="row">
                                <div class="col-sm-12 col-lg-12 col-xs-12 col-md-12 text-right">
                                    <button type="reset" id="btnReset" name="btnReset" class="btn btn-default">重置</button>
                                    <button type="button" id="btnSkuSearch" name="btnSkuSearch" class="btn btn-primary">查询</button>
                                </div>
                            </div>
                            <br>
                        </form>
                        <!-- 查询条件 -->
                        <table id="addItemTable"
                               class="table table-hover table-striped table-bordered table-advanced tb-sticky-header"
                               cellspacing="0" style="width:100%;">
                            <thead>
                            <tr>
                                <th width="1%" style="padding: 10px;"><input id="chkAllItem" name="chkAllItem" type="checkbox" colValue="chk" class="checkall" /></th>
                                <th width="10%" colValue="">商品商家编码</th>
                                <th width="10%" colValue="">商品名称</th>
                                <th width="10%" colValue="">规格商家编码</th>
                                <th width="10%" colValue="">规格名称</th>
                                <th width="10%" colValue="">库存类型</th>
                                <th width="10%" colValue="">批次编号</th>
                                <th width="" colValue="">生产日期</th>
                            </tr>
                            <tbody>
                            </tbody>
                            </thead>
                        </table>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button id="btnAddItemClose" type="button" data-dismiss="modal" class="btn btn-default">关闭</button>
                <button id="btnAddItem" type="button" class="btn btn-primary">确定</button>
            </div>
        </div>
    </div>
</div>

<!-- 下载错误文件 -->
<div id="modalDownFile" tabindex="-1" role="dialog" aria-labelledby="modal-header-primary-label" data-backdrop="static" aria-hidden="true" class="modal fade">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header modal-header-primary">
                <button type="button" data-dismiss="modal" aria-hidden="true" class="close">&times;</button>
                <h4 id="modal-header-primary-label" class="modal-title">商品信息导入失败，请修正后重新导入</h4>
            </div>
            <div class="modal-body">
                <!-- <h3 class="mbxl">备注填写</h3> -->
                <form id="batchRemarkForm" role="form" action="" class="form-horizontal">
                    <div class="form-group" style="text-align: center">
                        <a id="downloadFile" href="#" style="font-size: 30px;">导出失败明细</a>
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <button id="btnBatchRemarkCancel" type="button" data-dismiss="modal" class="btn btn-default">取消</button>
                <button id="btnBatchRemark" type="button" data-dismiss="modal" class="btn btn-primary">确定</button>
            </div>
        </div>
    </div>
</div>
<!--END CONTENT-->
<!-- 导出文件 -->
<div id="exportList" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" class="modal fade"
     aria-labelledby="modal-header-primary-label">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header modal-header-primary">
                <button type="button" data-dismiss="modal" aria-hidden="true" class="close">x</button>
                <h4 id="modal-header-primary-label" class="modal-title">导出EXCEL</h4>
            </div>
            <div class="modal-body">
                <form id="formShopTypeSelect" role="form" action="#" class="form-horizontal">

                    <div class="row">
                        <div class="form-group">
                            <div class="container-fluid">
                                <div class="btn-group btn-group-sm mbm" style="margin-left: 15px;">
                                    <a id="select-all" href="#" class="btn btn-default">全选择</a>
                                    <a id="deselect-all" href="#" class="btn btn-default">全清除</a>
                                    <a id="refresh" href="#" class="btn btn-default">刷新</a>
                                </div>
                                <select id="public-methods" multiple="multiple" style="position: absolute; left: -9999px;">

                                </select>
                            </div>
                        </div>
                    </div>
                </form>
                <iframe id="exportFrame" style= "display   :none "></iframe>
            </div>
            <div class="modal-footer">
                <button id="shutExportList" type="button" data-dismiss="modal" class="btn btn-default">关闭</button>
                <button id="btnExportList" type="button" class="btn btn-primary">导出</button>
            </div>
        </div>
    </div>
</div>

<!-- 加载 jquery js-->
<script src="/Apollo/madmin/js/jquery-1.10.2.min.js"></script>
<script src="/Apollo/madmin/js/jquery-migrate-1.2.1.min.js"></script>
<script src="/Apollo/madmin/js/jquery-ui.js"></script>

<!-- 加载 bootstrap 和三方插件 js -->
<script src="/Apollo/madmin/vendors/bootstrap/js/bootstrap.min.js"></script>
<script src="/Apollo/madmin/vendors/bootstrap-hover-dropdown/bootstrap-hover-dropdown.js"></script>
<script src="/Apollo/madmin/js/html5shiv.js"></script>
<script src="/Apollo/madmin/js/respond.min.js"></script>
<script src="/Apollo/madmin/vendors/jquery-cookie/jquery.cookie.js"></script>
<script src="/Apollo/madmin/vendors/iCheck/icheck.min.js"></script>
<script src="/Apollo/madmin/vendors/iCheck/custom.min.js"></script>
<script src="/Apollo/madmin/vendors/jquery-notific8/jquery.notific8.min.js"></script>
<script src="/Apollo/madmin/vendors/holder/holder.js"></script>
<script src="/Apollo/madmin/vendors/responsive-tabs/responsive-tabs.js"></script>
<script src="/Apollo/madmin/vendors/moment/moment.js"></script>
<script src="/Apollo/madmin/vendors/DataTables/media/js/jquery.dataTables.js"></script>
<script src="/Apollo/madmin/vendors/DataTables/media/js/dataTables.bootstrap.js"></script>
<script src="/Apollo/madmin/vendors/DataTables/extensions/TableTools/js/dataTables.tableTools.min.js"></script>
<script src="/Apollo/madmin/vendors/jquery-tablesorter/jquery.tablesorter.js"></script>
<script src="/Apollo/madmin/js/table-advanced.js"></script>
<script src="/Apollo/madmin/vendors/jquery-validate/jquery.validate.min.js"></script>
<script src="/Apollo/madmin/vendors/jquery-validate/message_zh.js"></script>
<script src="/Apollo/madmin/vendors/jquery-steps/js/jquery.steps.min.js"></script>
<script src="/Apollo/madmin/vendors/jquery-bootstrap-wizard/jquery.bootstrap.wizard.min.js"></script>
<script src="/Apollo/madmin/vendors/bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js"></script>

<script src="/Apollo/madmin/vendors/metisMenu/jquery.metisMenu.js"></script>
<script src="/Apollo/madmin/vendors/slimScroll/jquery.slimscroll.js"></script>
<script src="/Apollo/madmin/vendors/jquery-highcharts/highcharts.js"></script>
<script src="/Apollo/madmin/js/jquery.menu.js"></script>
<script src="/Apollo/madmin/vendors/jquery-news-ticker/jquery.newsTicker.min.js"></script>
<script src="/Apollo/madmin/vendors/select2/select2.min.js"></script>
<script src="/Apollo/madmin/vendors/bootstrap-select/bootstrap-select.min.js"></script>
<!--<script src="/Apollo/madmin/vendors/multi-select/js/jquery.multi-select.js"></script>-->
<!--<script src="/Apollo/madmin/js/ui-dropdown-select.js"></script>-->
<script src="/Apollo/madmin/vendors/DataTables/jquery.jeditable.js"></script>
<script src="/Apollo/madmin/js/table-editable.js"></script>

<script src="/views/static/js/setPageButtonStatus.js"></script>
<script src="/views/static/js/form.js"></script>
<script src="./plugins/xlsx.full.min.js"></script>
<script src="./plugins/shim.min.js"></script>
<script src="export.js"></script>
<script src="import.js"></script>
<script src="extAdjustList.js"></script>

</body>
</html>